From 1f194b82e87c5cd7f83b53e410747b836003eac5 Mon Sep 17 00:00:00 2001 From: jethrogb Date: Sat, 30 Jul 2016 21:43:41 -0700 Subject: [PATCH] Clarify [replace] section capabilities --- src/doc/manifest.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/doc/manifest.md b/src/doc/manifest.md index 1c5ea784c..805b7c384 100644 --- a/src/doc/manifest.md +++ b/src/doc/manifest.md @@ -545,9 +545,10 @@ other copies. The syntax is similar to the `[dependencies]` section: Each key in the `[replace]` table is a [package id specification](pkgid-spec.html) which allows arbitrarily choosing a node in the dependency graph to override. The value of each key is the same as the -`[dependencies]` syntax for specifying dependencies. Note that when a crate is -overridden the copy it's overridden with must have both the same name and -version, but it can come from a different source (e.g. git or a local path). +`[dependencies]` syntax for specifying dependencies, except that you can't +specify features. Note that when a crate is overridden the copy it's overridden +with must have both the same name and version, but it can come from a different +source (e.g. git or a local path). More information about overriding dependencies can be found in the [overriding dependencies][replace] section of the documentation. -- 2.30.2